﻿using DA.DataBase.DataBaseContext;
using DA.Model.DB;
using Prism.Ioc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DA.DataBase.DAL
{
    public class ProcessService
    {
        private BaseContext db;
        public ProcessService(BaseContext dbContext)
        {
            db = dbContext;
        }
        public IEnumerable<Process> Query()
        {
            return db.Processes.ToList();
        }
        public void Update() { }
        public void Delete() { }
        public void Add()
        {

        }
    }
}
